package com.gxa.modules.model.entity.fee;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门诊消费记录表
 * </p>
 *
 * @author gxa
 * @since 2022-11-12 11:12:58
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_outpatient_consumption_records")
@ApiModel(value = "OutpatientConsumptionRecords对象", description = "门诊消费记录表")
public class OutpatientConsumptionRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("操作时间")
    @TableField("operation_time")
    private Date operationTime;

    @ApiModelProperty("订单号(订单金额、支付方式、卡内余额、订单状态、来源)")
    @TableField("order_id")
    private String orderId;

    @ApiModelProperty("患者ID(患者姓名、就诊卡号)")
    @TableField("patient_id")
    private Integer patientId;

    @ApiModelProperty("删除：0 未删除，1 已删除")
    @TableField("is_delete")
    private Integer isDelete;

    @ApiModelProperty("就诊信息主键(业务类型、费用类型)")
    @TableField("consultation_id")
    private Integer consultationId;


}
